-- skill_cost
-- created by zhuangsl
-- 迷宫中学习技能降低N%

return {
    apply = function(prop, baseValue)
        local v = baseValue - math.modf(baseValue * prop[3] / 1000);
        return math.max(1, v);
    end,

    record = function(target, prop, path)
        return false;
    end 
};